<%@ page import="ro.gateway.aida.obj.db.SystemPropertyDB,
			  ro.gateway.aida.db.PersistenceToken,
			  ro.gateway.aida.db.PersistenceManager,
			  java.io.PrintWriter"%>
<%
	String value = null;
	try {
	PersistenceToken token = PersistenceManager.tokenLookup(application);
	if (request.getParameter("show") != null) {
	     out.println(SystemPropertyDB.getManager(token).getProperty("actoobjoptions"));
	} else if (request.getParameter("fixnewline") != null) {
		value = SystemPropertyDB.getManager(token).getProperty("actoobjoptions");
		out.println("Patching the actoobjoption string... replacing \"\\n\" with <newline>");
		value = value.replaceAll("\\\\n", "\n");
		SystemPropertyDB.getManager(token).setProperty("actoobjoptions", value);
	} else {
		out.println("Usage: (?show=true)||(?fixnewline=true)");
	}
	} catch (Throwable th){
		%>
		<textarea cols="80" rows="30"><%th.printStackTrace(new PrintWriter(out));%></textarea>
		<textarea cols="80" rows="30"><%=value%></textarea>
		<%
	}
%>